import type { Point2D } from '@/RoomDesign/application/dto/Point2D'
import type { Ceiling } from './Ceiling'
import type { Floor } from './Floor'
import { BaseObject } from './share/BaseObject'

/**
 * 区域单元
 */
export class Zone extends BaseObject {
  // 区域轮廓
  private _path: Point2D[] = []

  // private _floors: Floor[] = []

  // private _ceilings: Ceiling[] = []

  // public get floors(): Floor[] {
  //   return this._floors
  // }

  // public set floors(value: Floor[]) {
  //   this._floors = value
  // }

  // public get ceilings(): Ceiling[] {
  //   return this._ceilings
  // }

  // public set ceilings(value: Ceiling[]) {
  //   this._ceilings = value
  // }

  constructor(path: Point2D[]) {
    super()
    this._path.push(...path)
  }
}
